import request from '@/utils/request'

export function pageUserApply(obj, current, limit) {
    return request({
        url: `/ucenter/teacher-application/pageUserApply/${current}/${limit}`,
        method: 'post',
        data: obj
    })
}

export function successApply(id) {
    return request({
        url: `/ucenter/teacher-application/successApply/${id}`,
        method: 'post',
    })
}

export function failApply(id) {
    return request({
        url: `/ucenter/teacher-application/failApply/${id}`,
        method: 'post',
    })
}

export function getById(id) {
    return request({
        url: `/ucenter/teacher-application/getById/${id}`,
        method: 'get',
    })
}
